package edu.chinasoft.ioc01;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public
class People01 {
    //饿汉式单例设计
    private static People01 instance=new People01();
    private static Log log = LogFactory.getLog(People01.class);

    private
    People01() {
    }

    public static
    People01 getInstance() {
        log.info( "People01>>>getInstance start……" );
        log.info( "People01>>>getInstance end……" );
        return instance;
    }
}
